<%@ page import="activity.Reader" %>



<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="reader.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${readerInstance?.name}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'gender', 'error')} required">
	<label for="gender">
		<g:message code="reader.gender.label" default="Gender" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="gender" required="" value="${readerInstance?.gender}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'birth', 'error')} required">
	<label for="birth">
		<g:message code="reader.birth.label" default="Birth" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="birth" precision="day"  value="${readerInstance?.birth}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'CID', 'error')} ">
	<label for="CID">
		<g:message code="reader.CID.label" default="CID" />
		
	</label>
	<g:textField name="CID" value="${readerInstance?.CID}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'service', 'error')} ">
	<label for="service">
		<g:message code="reader.service.label" default="Service" />
		
	</label>
	<g:textField name="service" value="${readerInstance?.service}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'title', 'error')} ">
	<label for="title">
		<g:message code="reader.title.label" default="Title" />
		
	</label>
	<g:textField name="title" value="${readerInstance?.title}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'tel1', 'error')} ">
	<label for="tel1">
		<g:message code="reader.tel1.label" default="Tel1" />
		
	</label>
	<g:textField name="tel1" value="${readerInstance?.tel1}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'tel2', 'error')} ">
	<label for="tel2">
		<g:message code="reader.tel2.label" default="Tel2" />
		
	</label>
	<g:textField name="tel2" value="${readerInstance?.tel2}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'email1', 'error')} ">
	<label for="email1">
		<g:message code="reader.email1.label" default="Email1" />
		
	</label>
	<g:textField name="email1" value="${readerInstance?.email1}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'email2', 'error')} ">
	<label for="email2">
		<g:message code="reader.email2.label" default="Email2" />
		
	</label>
	<g:textField name="email2" value="${readerInstance?.email2}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'custom1', 'error')} ">
	<label for="custom1">
		<g:message code="reader.custom1.label" default="Custom1" />
		
	</label>
	<g:textField name="custom1" value="${readerInstance?.custom1}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'custom2', 'error')} ">
	<label for="custom2">
		<g:message code="reader.custom2.label" default="Custom2" />
		
	</label>
	<g:textField name="custom2" value="${readerInstance?.custom2}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'live', 'error')} ">
	<label for="live">
		<g:message code="reader.live.label" default="Live" />
		
	</label>
	<g:textField name="live" value="${readerInstance?.live}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'food', 'error')} ">
	<label for="food">
		<g:message code="reader.food.label" default="Food" />
		
	</label>
	<g:textField name="food" value="${readerInstance?.food}" size="40" />
</div>

<div class="fieldcontain ${hasErrors(bean: readerInstance, field: 'memo', 'error')} ">
	<label for="memo">
		<g:message code="reader.memo.label" default="Memo" />
		
	</label>
	<g:textField name="memo" value="${readerInstance?.memo}" size="40" />
</div>

